<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The RRDCreator class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.rrdc-disconnect.html">rrdc_disconnect</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="rrdcreator.addarchive.html">RRDCreator::addArchive</a></div>
 <div class="up"><a href="book.rrd.html">RRD</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.rrdcreator" class="reference">
 <h1 class="title">The RRDCreator class</h1>
 

 <div class="partintro"><p class="verinfo">(PECL rrd &gt;= 0.9.0)</p>


  <div class="section" id="rrdcreator.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    Class for creation of RRD database file.
   </p>
  </div>


  <div class="section" id="rrdcreator.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">RRDCreator</strong>
     </span>
     {</div>


    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="rrdcreator.addarchive.html" class="methodname">addArchive</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$description</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="rrdcreator.adddatasource.html" class="methodname">addDataSource</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$description</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><a href="rrdcreator.construct.html" class="methodname">__construct</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$path</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$startTime</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$step</code><span class="initializer"> = 0</span></span>
  ]] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="rrdcreator.save.html" class="methodname">save</a></span>
    ( <span class="methodparam">void</span>
   )</div>

   }</div>


  </div>

 </div>

 





























<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="rrdcreator.addarchive.html">RRDCreator::addArchive</a> — Adds RRA - archive of data values for each data source.</li><li><a href="rrdcreator.adddatasource.html">RRDCreator::addDataSource</a> — Adds data source definition for RRD database.</li><li><a href="rrdcreator.construct.html">RRDCreator::__construct</a> — Creates new RRDCreator instance</li><li><a href="rrdcreator.save.html">RRDCreator::save</a> — Saves the RRD database to a file</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.rrdc-disconnect.html">rrdc_disconnect</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="rrdcreator.addarchive.html">RRDCreator::addArchive</a></div>
 <div class="up"><a href="book.rrd.html">RRD</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
